/// id : "32"
/// email : "2506564278@qq.com"
/// path : "assets/images/1654281841.png"
/// filetype : "images"
/// name : "扫描全能王 2022-04-28 01.24.jpg (1)"

class UploadBean {
  UploadBean({
      int? id,
      String? email, 
      String? path, 
      String? filetype, 
      String? name,}){
    _id = id;
    _email = email;
    _path = path;
    _filetype = filetype;
    _name = name;
}

  UploadBean.fromJson(dynamic json) {
    _id = json['id'];
    _email = json['email'];
    _path = json['path'];
    _filetype = json['filetype'];
    _name = json['name'];
  }
  int? _id;
  String? _email;
  String? _path;
  String? _filetype;
  String? _name;
UploadBean copyWith({  int? id,
  String? email,
  String? path,
  String? filetype,
  String? name,
}) => UploadBean(  id: id ?? _id,
  email: email ?? _email,
  path: path ?? _path,
  filetype: filetype ?? _filetype,
  name: name ?? _name,
);
  int? get id => _id;
  String? get email => _email;
  String? get path => _path;
  String? get filetype => _filetype;
  String? get name => _name;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['email'] = _email;
    map['path'] = _path;
    map['filetype'] = _filetype;
    map['name'] = _name;
    return map;
  }

}